
package com.work.db.entity;

import java.io.Serializable;

import javax.persistence.*;

@Entity
@Table(name = "PERMISSION")
public class Permission extends BaseEntity implements Serializable {

	@Transient
	private static final long serialVersionUID = -7153580519265938785L;

	@Column(name = "ROLE", nullable = false)
	private String role;

	@Column(name = "ACTION", nullable = false, length = 1500)
	private String action;

	public Permission() {
		super();
	}

	public String getRole()
	{
		return role;
	}

	public void setRole(String role)
	{
		this.role = role;
	}

	public String getAction()
	{
		return action;
	}

	public void setAction(String action)
	{
		this.action = action;
	}

}
